﻿
using Mono.Cecil;

public class ParameterAstTree : LuaAstTree
{
    public LuaArgDefinition Arg { get; }

    public ParameterAstTree(LuaArgDefinition parameter)
    {
        this.Arg = parameter;
    }
    public override void WriteTo(ICodeWriter writer)
    {
        writer.Code(Arg.Name);
    }
}

